import React from 'react'
import './style.less'
import CleanItem from './Item'

export default class AcarusService extends React.Component {
  render() {
    const servicePrice = this.props.servicePrice || []
    return(
      <div className='acarus-service'>
        <div className='clean-time'>
          <h2>参考耗时</h2>
          {
            servicePrice.map((element,index) => {
              return <CleanItem data={element} key={ index }/>
            })
          }
          {/*立即预约*/}
        </div>
        <button type='button'>立即预约</button>
      </div>
    )
  }
}
